package com.lgz.dbcourse.mapper;

import com.lgz.dbcourse.dto.ScheduleDTO;
import com.lgz.dbcourse.entity.MovieScheduleEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: LGZ
 * @Date: 2021/4/11 11:11
 * @Description:
 */
public interface MovieScheduleMapper {

    /**
     * TODO
     * @Description 获取即将上映的电影
     * @Author lgz
     * @Date 2021/4/12 16:03
     * @return : com.lgz.dbcourse.dto.MovieScheduleDTO
     */
    ScheduleDTO[] getSchedulePlaying();

    /**
     * TODO
     * @Description
     * @Author lgz
     * @Date 2021/4/12 17:37
     * @param movieScheduleEntity :
     * @return : void
     */
    void addSchedule(@Param("movieScheduleEntity")MovieScheduleEntity movieScheduleEntity);
}
